package cn.tpshion.task.task;

import cn.tpshion.task.common.MsgAction;
import cn.tpshion.task.data.MsgData;
import io.netty.channel.ChannelHandlerContext;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MsgHeartbeatHandler extends MsgHandler {

    @Override
    protected MsgAction action() {
        return MsgAction.HEARTBEAT;
    }

    @Override
    public void handler(ChannelHandlerContext ctx, MsgData msgData) {
        log.info("heartbeat is ok");
    }
}
